<?php
/**
 *
 * @author ninetyseven.
 * @date 2023-04-02 17:19
 */

namespace App\Enum;

class VehicleConfigEnum
{

    public const STATUS_OK = 1;
    public const STATUS_INVALID=2;
    public const VEHICLE_USE_TYPE_AIRPORT = 2;
    /**
     * 用车类型
     * 城市code-platformId-payment-excludeUseType-onlyUseType
     */
    public const VEHICLE_CONFIG_KEY = 'vehicle_config-%s-%d-%d-%s-%s';
    /**
     * 前台获取用户类型和计算方法 缓存时长
     */
    public const VEHICLE_CONFIG_TIMEOUT = 3600;
    public const VEHICLE_CONFIG_REDIS_KEY='C6Eew5WsvyR8M5vZphRh';
    public const VEHICLE_USE_CONFIG_REDIS_KEY='FFiEOb6pvjcD1sQshAMs';

    public const VEHICLE_CONFIG_REDIS_TIMEOUT_HOURLY = 13600;
    public const VEHICLE_CONFIG_REDIS_TIMEOUT_MINUTES = 600;

}
